import Layout from '@/layout';
// // 由于懒加载页面太多的话会造成webpack热更新太慢，所以开发环境不使用懒加载，只有生产环境使用懒加载
const _import = require('@/utils/util.import');
const meta = { auth: true, menuId: '/AccountManager' };
export default {
  path: '/AccountManager',
  meta: {
    ...meta,
    icon: 'setting',
    title: '客户经理客户管理',
  },
  component: Layout,
  children: ((basePath) => [
    {
      path: `${basePath}/AccountRelation`, //路由地址
      component: _import('system/AccountManager/AccountRelation'), //页面路径
      name:'AccountRelation',
      meta: {
        ...meta,
        title: '客户关系设置',
      },
    },
    {
      path: `${basePath}/AccountRelation_info`, //路由地址
      name:'AccountRelation_info',
      component: _import('system/AccountManager/AccountRelation_info'), //页面路径
      meta: {
        ...meta,
        title: '客户间关系详情设置',
      },
    },
    {
      path: `${basePath}/AccountRelation_infoAdd`, //路由地址
      name:'AccountRelation_infoAdd',
      component: _import('system/AccountManager/AccountRelation_infoAdd'), //页面路径
      meta: {
        ...meta,
        title: '客户间关系新增',
      },
    },
    
  ])('/AccountManager'),
};
